#include<stdio.h>
#include<stdlib.h>
struct S
{
	int i;
	int arr[];
};
int main()
{
	struct S s;
	struct S* ps = (struct S*)malloc(sizeof(struct S) + 40);
	if (ps == NULL)
		return 1;
	ps->i = 1;
	for (int i = 0; i < 10; i++)
		ps->arr[i] = i + 1;
	for (int i = 0; i < 10; i++)
	printf("%d ", ps->arr[i]);
	free(ps);
	ps = NULL;
	return 0;
}